#include "stdafx.h"
#include "ProcParams.h"


CProcParamsDlg::CProcParamsDlg( LPCSTR lpszCmdLine ) : CDialogEx(CProcParamsDlg::IDD)
{
    m_csCmdLine = lpszCmdLine;
}

void CProcParamsDlg::DoDataExchange(CDataExchange* pDX)
{
    CDialogEx::DoDataExchange(pDX);
}

BEGIN_MESSAGE_MAP(CProcParamsDlg, CDialogEx)
    
END_MESSAGE_MAP()

BOOL CProcParamsDlg::OnInitDialog()
{
    GetDlgItem( IDC_CMD_LINE_EDIT )->SetWindowText( m_csCmdLine );
    return TRUE;
}

void CProcParamsDlg::OnOK()
{
    GetDlgItem( IDC_CMD_LINE_EDIT )->GetWindowText( m_csCmdLine );
    CDialogEx::OnOK();
}

void CProcParamsDlg::OnCancel()
{
    CDialogEx::OnCancel();
}
